﻿using Apps.Yunwei.YunWeiService;
namespace Apps.Yunwei.ViewModels
{
    public class UserSelectable : UserObject
    {
        public UserSelectable()
        {

        }
        public UserSelectable(UserObject user)
        {
            this.Caption = user.Caption;
            this.Code = user.Code;
            this.ID = user.ID;
            this.Describe = user.Describe;
        }
        private bool selected;
        public bool Selected
        {
            get
            {
                return this.selected;
            }
            set
            {
                if ((object.ReferenceEquals(this.selected, value) != true))
                {
                    this.selected = value;
                    this.RaisePropertyChanged("Selected");
                }
            }
        }
    }
}
